package com.opener.web.push.service;

import com.opener.common.http.HttpResponse;
import com.opener.web.push.model.PushRecord;
import com.opener.web.push.model.PushRecordSearchArgs;
import com.opener.web.push.model.PushRecordSendArgs;

import java.util.List;

/**
 * Created by baboy on 25/07/2017.
 */
public interface PushRecordService {
    boolean addPushRecord(PushRecord record);
    boolean updatePushRecord(PushRecord record);
    List<PushRecord> getPushRecords(PushRecordSearchArgs args);

    HttpResponse push(PushRecordSendArgs args);
}
